package com.qf.cardlike.mapper;

import com.qf.cardlike.domain.User;

import java.util.List;

/**
* @author zed
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-05-16 15:13:27
* @Entity com.qf.cardlike.domain.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    // 根据名字查询用户
    List<User> selectByName(String username);
}
